#define _CRT_SECURE_NO_WARNINGS  1

#include<stdio.h>

void text(int* i, int* j)
{
	int k = 0;
	k = *i;
	*i = *j;
	*j = k;
}

int main()
{
	int a = 1;
	int b = 2;
	printf("%d %d\n", a, b);
	text(&a,&b);
	printf("%d %d\n", a, b);
	return 0;
}